import Vue from 'vue'
// import { Button } from 'element-ui'
// import { Form, FormItem } from 'element-ui'
// import { Input} from 'element-ui'
//导入弹框提升组件
// import { Message } from 'element-ui'

//简写
import {
    Button, Form, FormItem, Input, Message,
    Container, Header, Aside, Main,
    Menu, Submenu, MenuItemGroup, MenuItem,
    Breadcrumb, BreadcrumbItem,Card,Row,Col,
    Table, TableColumn, Switch, Tooltip, Pagination, Dialog,
    MessageBox, Tag, Tree, Select, Option, Cascader, Alert,
    Tabs, TabPane, Steps, Step, CheckboxGroup, Checkbox, Upload,
    TimelineItem, Timeline
} from 'element-ui'





Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItemGroup)
Vue.use(MenuItem)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Card)
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(Dialog)
Vue.use(Tag)
Vue.use(Tree)
Vue.use(Select)
Vue.use(Option)
Vue.use(Cascader)
Vue.use(Alert)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Steps)
Vue.use(Step)
Vue.use(CheckboxGroup)
Vue.use(Checkbox)
Vue.use(Upload)
Vue.use(Timeline)
Vue.use(TimelineItem)
//将这个组件挂载到vue的原型对象上
Vue.prototype.$message = Message
//确认消息弹出框
Vue.prototype.$confirm = MessageBox.confirm